#if _DEBUG
/* 
 Unit tests for VarTable, ProcTable, Follows, Parent, and ShortcutTable design abstractions.
 */
#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>

#include <iostream>

using namespace std;

int main(int argc, char* argv[])
{
	/*******************************
	   Unit testing using cppUnit 
	*******************************/

	CPPUNIT_NS::Test *suite = CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest();
	CppUnit::TextUi::TestRunner runner;
	runner.addTest(suite);
	bool wasSucessful = runner.run();
	char* c = (char*) malloc(10 * sizeof (char));
	scanf (c,"%c");
	return wasSucessful ? 0 : 1;
	
	cin.get();
	return 0;
}

#endif